﻿/* ----------------------------------------------------------------------
 * File Name: SYS_UserModel.cs
 * Author: 周艳
 * DateTime: 2019/2/18
 * Description: 用户或角色权限表
 *----------------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DBModel
{
    ///<summary>
    ///SYS_USER_RIGHT
    ///</summary>
    [Serializable()]
    [DataContract(Name = "SYS_User_Right")]
    public partial class SYS_User_Right
    {
        ///<summary>
        ///ID
        ///</summary>
        [DataMember(Name = "ID")]
        public string ID { get; set; }
        ///<summary>
        ///用户ID
        ///</summary>
        [DataMember(Name = "UserID")]
        public string UserID { get; set; }
        ///<summary>
        ///菜单ID
        ///</summary>
        [DataMember(Name = "MenuID")]
        public string MenuID { get; set; }
        ///<summary>
        ///是否拥有权限1拥有2没有
        ///</summary>
        [DataMember(Name = "RightType")]
        public decimal RightType { get; set; }
        ///<summary>
        ///角色ID
        ///</summary>
        [DataMember(Name = "RoleID")]
        public string RoleID { get; set; }
        ///<summary>
        ///
        ///</summary>
        [DataMember(Name = "bak")]
        public string bak { get; set; }
    }
    public partial class SYS_User_Right
    {
        ///<summary>
        ///MenuName
        ///</summary>
        [DataMember(Name = "title")]
        public string title { get; set; }
        ///<summary>
        ///MenuID
        ///</summary>
        [DataMember(Name = "id")]
        public string id { get; set; }
        ///<summary>
        ///RID
        ///</summary>
        [DataMember(Name = "RID")]
        public string RID { get; set; }
        ///<summary>
        ///children
        ///</summary>
        [DataMember(Name = "children")]
        public List<SYS_User_Right> children { get; set; }
        ///<summary>
        ///ParentID
        ///</summary>
        [DataMember(Name = "ParentID")]
        public string ParentID { get; set; }
        ///<summary>
        ///Sequence
        ///</summary>
        [DataMember(Name = "Sequence")]
        public int Sequence { get; set; }
        ///<summary>
        ///checked
        ///</summary>
        [DataMember(Name = "checked")]
        public bool Checked { get; set; }
    }
}
